<? include_once("../../../common/common_setting_unit.php"); //引入通用的设置文件?>



<?php

$detail=select_one_line_all_items($table_prefix."unit","nid = '".$_REQUEST['nid']."'");




if($detail['status'] == '正常')
{
    $result['ai_status']="停用";
}
else
{
    $result['ai_status']="正常";
}

$_verify_str=update_date($table_prefix."unit",$result,"nid","".$_REQUEST['nid']."");
$query = mysql_query($_verify_str) or die ("error:".mysql_error());






$url="detail-list.php?now_extender=unit";
Header("Location: $url");

?>



